package com.shoppingwebsite.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 *    springMvc配置类
 */
@Configuration                                   //设置为配置类
@ComponentScan({"com.shoppingwebsite.config","com.shoppingwebsite.controller"})     //扫描包
@EnableWebMvc
public class SpringMvcConfig {
}
